package com.juyu.miliao.scheduler.config;

import com.juyu.miliao.common.domain.NetEaseConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 第3方配置汇总
 *
 * @author jh
 * 2018/9/6
 */
@Configuration
public class ThirdPartyConfiguration {

    @Bean
    @ConfigurationProperties("app.netease")
    public NetEaseConfig setEaseConfig() {
        return new NetEaseConfig();
    }

}
